package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author shy
 * @since 2022-10-20
 */
@TableName("customer_coupon")
public class CustomerCoupon implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer custId;


    private Integer couponNo;


    private String couponName;

    private String couponRedemptionCode;


    private Integer custHoldNumber;


    private LocalDate couponExpiryTime;


    private Integer couponStatus;

    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }
    public Integer getCouponNo() {
        return couponNo;
    }

    public void setCouponNo(Integer couponNo) {
        this.couponNo = couponNo;
    }
    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }
    public String getCouponRedemptionCode() {
        return couponRedemptionCode;
    }

    public void setCouponRedemptionCode(String couponRedemptionCode) {
        this.couponRedemptionCode = couponRedemptionCode;
    }
    public Integer getCustHoldNumber() {
        return custHoldNumber;
    }

    public void setCustHoldNumber(Integer custHoldNumber) {
        this.custHoldNumber = custHoldNumber;
    }
    public LocalDate getCouponExpiryTime() {
        return couponExpiryTime;
    }

    public void setCouponExpiryTime(LocalDate couponExpiryTime) {
        this.couponExpiryTime = couponExpiryTime;
    }
    public Integer getCouponStatus() {
        return couponStatus;
    }

    public void setCouponStatus(Integer couponStatus) {
        this.couponStatus = couponStatus;
    }

    @Override
    public String toString() {
        return "CustomerCoupon{" +
            "custId=" + custId +
            ", couponNo=" + couponNo +
            ", couponName=" + couponName +
            ", couponRedemptionCode=" + couponRedemptionCode +
            ", custHoldNumber=" + custHoldNumber +
            ", couponExpiryTime=" + couponExpiryTime +
            ", couponStatus=" + couponStatus +
        "}";
    }
}
